package com.lanhe.member.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户消费记录(LhMemberConsumedRec)表实体类
 *
 * @author zhanggl
 * @since 2024-01-16 10:46:22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("lh_member_consumed_rec")
public class LhMemberConsumedRec {

	/**
	 * ID
	 */
    @TableId(type = IdType.AUTO)
	private Long consumedRecId;

	/**
	 * 订单编号
	 */
	private String orderNumber;

	/**
	 * 会员ID
	 */
	private Long memberId;

	/**
	 * 消费金额
	 */
	private BigDecimal amount;

	/**
	 * 备注
	 */
	private String reason;

	/**
	 * 创建时间
	 */
	private Date createTime;

}

